Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] NEAR-11: Landing Page Update #3116

Merged
merged 15 commits into from
Jan 18, 2024
Merged

Conversation

valmir-haxholli
Copy link
Contributor

@valmir-haxholli valmir-haxholli commented Jan 12, 2024

Successfully merging this pull request may close these issues:
Replace Landing Page

@valmir-haxholli valmir-haxholli added the New Feature ✨ A new feature that comprises a new user flow or new & robust functionality. label Jan 12, 2024
@valmir-haxholli valmir-haxholli self-assigned this Jan 12, 2024
@valmir-haxholli valmir-haxholli marked this pull request as ready for review January 12, 2024 17:18
@hcho112
Copy link
Contributor

hcho112 commented Jan 14, 2024

image
These two button actions are not working

image
This action button is not working
Bottom padding is too big, different to Figma design
Account count is wrong. It should reflect to actual account(s) count.

Lets get functionally working first before code review

@valmir-haxholli
Copy link
Contributor Author

@hcho112 Thank you for your feedback, I've updated the PR based on your suggestions

Copy link
Contributor

@andy-haynes andy-haynes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, but can we please delete the deprecated code instead of commenting out? It's hard to tell which routes are remaining 😅

import { SetupPassphraseNewAccountWrapper } from '../routes/SetupPassphraseNewAccountWrapper';
import { SetupRecoveryImplicitAccountWrapper } from '../routes/SetupRecoveryImplicitAccountWrapper';
import { SignWrapper } from '../routes/SignWrapper';
// import { CreateImplicitAccountWrapper } from '../routes/CreateImplicitAccountWrapper';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we delete these instead of commenting out please?

<GlobalAlert />
{
{/* {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete all commented-out routes so that it is clear exactly which routes remain.

Copy link
Contributor

@andy-haynes andy-haynes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, just the one translation string that needs spaces. The rest of the feedback is just observations, not critical to shipping.

"landingSectionTitle": "What happened to NEAR Wallet?",
"landingSectionSubTitle": "Transfer your accounts with ease.",
"landingSectionSubDescription": "To make the transition easier, you can securely migrate your accounts to a new wallet using the Transfer Wizard. Review the transfer-compatible wallet options below or move your accounts manually with your recovery phrase.",
"landingSectionDescription": "As we embrace a more decentralized future, the NEAR Wallet will be discontinued.This change invites you to discover a variety of new and secure wallet options within our ecosystem.Don’t worry, no changes will be made to your account or assets.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs spaces after periods

export function PageNotFound() {
export function PageNotFound({ history }) {
useEffect(() => {
recordWalletMigrationEvent('REDIRECT');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth reporting the requested path here too? If we care enough about 404s from deprecated paths then that also seems relevant.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct!, but I noticed that rudder stack does it internally so decided to not include there:
image


const handleOnClickCreateNewAccount = () => {
if (WEP_DISABLE_ACCOUNT_CREATION) {
setShowModal('more-near-wallets');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The /create route is gone, should this be the only statement in handleOnClickCreateNewAccount i.e. show the modal with wallets?

@hcho112 hcho112 merged commit cca6bf5 into master Jan 18, 2024
1 check passed
@hcho112 hcho112 deleted the feature/NEAR-11-landing-page branch January 18, 2024 23:18
@hcho112 hcho112 mentioned this pull request Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature ✨ A new feature that comprises a new user flow or new & robust functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants